<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/* Author: Jorge Torres
 * Description: Login model class
 */
class User_model extends CI_Model{
    function __construct(){
        parent::__construct();
    }
    function getbyid($id){
    	$user_id = $this->security->xss_clean($id);
    	$this->load->library('curl');
    	$this->curl->create('http://ulusoyweb.net/grocerylistserv/api/user/getbyid/id/'.$id.'/');
    	return $this->curl->execute();
    }
}
?>